
/*
 * @authors :Bin Mei
 * @date    :2017-08-09
 * @description：min-bridge 组件包 全局初始配置文件
 */

import {StaticToast,StaticLoad } from 'pjh-mobile-ui';
// import {StaticToast,StaticLoad} from 'src/components/common'
import {mFetch,mLogs} from 'min-bridge';
import 'src/utils/bridge';

//3、fetch
mFetch.baseURL = "/app/phjApi/APP_API/api";
mFetch.fetchBefore = (id,message)=>{
  StaticLoad.show(id,message);
};
mFetch.fetchAfter = (id)=>{
  StaticLoad.remove(id);
};
mFetch.toast = (message)=>{
  StaticToast.error(message);
};

//日志上报
mLogs.logId="qbP2l4mQhvv8e5BITvXu7jlW-gzGzoHsz";
mLogs.logKey="rFfGUqa7NYUVkhAaEOc1MqaW";


